package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.dto.EvaluationDto;
import org.springframework.stereotype.Repository;

/**
 * Created by zhangjh on 2016/10/14.
 */
@Repository
public interface EvaluationRepositoryCustom {
    PageResult<EvaluationDto> findProductEvaluationPage(Long mallId, Long merchantId, Integer rangeStar, String beginDate, String endDate, String productType, String keyword, PageResult pageResult);

    Double queryGoodRateByProductId(Long id);
}
